<h2>公告 &gt; <?= $this->action=='add_form'?"发布新":"修改"?>公告</h2>
<form action='<?= AdminController::_makeURL('sms', 'announcement', $this->action=='add_form'?'add':'edit')?>' method="post" >
<? if($this->action!='add_form'):?>
<input type='hidden' name='id' value='<?= $this->id?>'/>
<? endif;?>
<table class='property' cellpadding="0" cellspacing="0">
	<tr>
		<td class='key'>标题</td>
		<td><input type='text' name='title' value='<?= ($this->action!='add_form')?htmlspecialchars($this->ret['data']['title']):'' ?>'/></td>
	</tr>
	<tr>
		<td class='key'>内容</td>
		<td><textarea name='content' cols="60" rows="15"><?= ($this->action!='add_form')?htmlspecialchars($this->ret['data']['content']):'' ?></textarea></td>
	</tr>
	<tr>
		<td class='key'></td>
		<td><input type='submit' value="提交" style="width:auto"/><input type='reset' style="width:auto"/></td>
	</tr>
</table>
</form>